package org.wiztools.te.plugin.helper;

public class UnderlineHelper{
	public static String underline(String str, char uchar){
		String[] arr = str.split("\n");
		
		StringBuffer sb = new StringBuffer();
		for(String line: arr){
			int len = line.length();
			sb.append(line).append("\n");
			for(int i=0;i<len;i++){
				sb.append(uchar);
			}
			sb.append("\n");
		}
		
		return sb.toString();
	}
}
